<template>
    <div>
        News组件

        <br />
        <ul>
            <li v-for="(item, index) in list" :key="index">{{ item }}</li>
        </ul>
    </div>
</template>

<script>

import { defineComponent } from 'vue';

export default defineComponent({
    data() {
        return {

        }
    }, computed: {
        list() {
            return this.$store.state.news.list
        }
    },

})
</script>

<style lang="scss"></style>